package com.htfyun.ft.config;

/**
 * NVRom 存储方式是 key-value
 * 其中 key 必须是 string 型. value 可以是 integer 或者 string
 * 我们把测试apk所用到的 key 值单独放在此类中.
 */

public enum NVRomKeysAttr {

    //factory test item of nvrom key
    screen("str_key_ft_screen"),
    headset("str_key_ft_headset"),
    finger_tp("str_key_ft_finger_tp"),
    camera("str_key_ft_camera"),
    keys("str_key_ft_keys"),
    keys_android("str_key_ft_keys_android"),
    led_breath("str_key_ft_led_breath"),//呼吸灯
    mic_6_channel("str_key_ft_mic_6_channel"),
    mic_2_channel("str_key_ft_mic_2_channel"),
    unisound_mic_test("str_key_ft_unisound_mic_test"),
    speaker("str_key_ft_speaker"),
    wakeup("str_key_ft_wakeup"),
    battery("str_key_ft_battery"),
    bluetooth("str_key_ft_bluetooth"),
    wifi("str_key_ft_wifi"),
    sdcard("str_key_ft_sdcard"),
    ram_rom("str_key_ft_ram_rom"),
    hall_sensor("str_key_ft_hall_sensor"),
    light_sensor("str_key_ft_light_sensor"),
    proximity_sensor("str_key_ft_proximity_sensor"),
    accelerate_sensor("str_key_ft_accelerate_sensor"),
    servo("str_key_ft_servo"),

    led_rgb("str_key_ft_led_rgb"),// pin 控制的 rgb 灯
    //factory test item of nvrom key end

    //老化
    aging("str_key_ft_aging"),
    aging_emmc("str_key_ft_aging_emmc"),
    aging_cpu("str_key_ft_aging_cpu"),

    //reserved nvrom key
    // pcba 测试时写入
    pcba_result("str_key_pcba_test_result"),
    //非 ft 测试项, 由 PC 工具写入
    sn("str_key_device_serialno"),
    wmac("str_key_device_wifi_mac"),
    btmac("str_key_device_bt_mac"),
    imei("str_key_device_imei"),
    user("str_key_device_user"),
    bsn("str_key_device_bsn"),
    pc_checked("str_key_device_pc_checked"),

    // For S9
    hard_disk("str_key_ft_hard_disk"),
    white_list_install("str_key_ft_white_list_install"),
    white_list_uninstall("str_key_ft_white_list_uninstall"),
    white_list_net("str_key_ft_white_list_net"),
    night_display("str_key_ft_night_display"),
    type_c("str_key_ft_type_c"),

    //// for show info
    info_ft_test("str_key_info_ft_test"),

    ;
    private final String key;

    private NVRomKeysAttr(String key) {
        this.key = key;
    }

    public String getKey() {
        return key;
    }


    public final static String PC_CHECKED = "CHECKED";
    public final static String PC_UNCHECKED = "UNCHECKED";


}

/***
 * // SN
 * #define NVROM_KEY_SERIALNO              ("str_key_device_serialno")
 * // WiFi MAC
 * #define NVROM_KEY_WIFI_MAC              ("str_key_device_wifi_mac")
 * // BT MAC
 * #define NVROM_KEY_BT_MAC                ("str_key_device_bt_mac")
 * // IMEI
 * #define NVROM_KEY_IMEI                  ("str_key_device_imei")
 * // USER
 * #define NVROM_KEY_USER                  ("str_key_device_user")
 * // BSN
 * #define NVROM_KEY_BSN                   ("str_key_device_bsn")
 *
 * // PCBA result
 * #define NVROM_KEY_PCBA_RESULT   ("str_key_pcba_test_result")
 * // FT CHECKED
 * #define NVROM_KEY_PC_CHECKED    ("str_key_device_pc_checked")
 * #define RESULT_PC_CHECKED               ("CHECKED")
 * #define RESULT_PC_UNCHECKED             ("UNCHECKED")
 */
